package com.community.contents.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 关注表
 * </p>
 *
 * @author hjs
 * @since 2023-02-28
 */
@TableName("t_follow")
@ApiModel(value = "Follow对象", description = "关注表")
@Data
public class FollowEntity implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("关注用户ID")
      private String userId;

      @ApiModelProperty("被关注用户ID")
      private String followUid;

      @ApiModelProperty("关注时间")
      private LocalDateTime createTime;

}
